<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            margin: 0px;
            padding: 0px;
        }
         html,body{
            height: 100%;
        }
        div.bg{
            height: 100%;
            background-image: url(./background.jpg);
            animation-name: bg;
            animation-duration: 30s;
            animation-iteration-count: infinite;
            animation-timing-function: linear;
        }
        div.content{
            width: 1000px;
            height: 180px;
           /* border: 1px solid red; */
            position: absolute;
            left: 200px;
            bottom: 150px;
        }
        div.content li{
            width: 200px;
            height: 180px;
            /*background-color: red;*/
            list-style: none;
            margin-right: 50px;
            float: left;
            overflow: hidden;
        }
        div.content li div{
            width: 1600px;
            height: 180px;
            /*background-color: blue;*/
            animation-name: roles;
            animation-duration: 1s;
            animation-iteration-count: infinite;
            animation-timing-function: steps(8);
        }
        div.content li div img{
            width: 100%;
            height: 180px;
        }
        @keyframes roles{
            form{
                margin-left: 0px;
            }
            to{
                margin-left: -1600px;
            }
        }
        @keyframes bg{
            from{
                margin-left: -2000px;
            }
            to{
                margin-left: 0px;
            }
        }
            
        
    </style>
</head>
<body>
    <div class="bg"></div>
    <div class="content">
        <ul>
            <li>
                <div><img src="./wk.png"></div>
            </li>
            <li>
                <div><img src="./bj.png"></div>
            </li>
            <li>
                <div><img src="./tc.png"></div>
            </li>
            <li>
                <div><img src="./sc.png"></div>
            </li>
        </ul>
    </div>
</body>
</html>